/*
* TFControllerImpl.h
*
* Implements TFControllerInterface
*
* Author: Rapid Dojo
* Date: Oct 19, 2007
*/

#include "TFControllerInterface.h"

class TFControllerImpl: public TFControllerInterface
{
public:

	TFControllerImpl ();
	virtual ~TFControllerImpl ();

    bool StartOrTouchPressed();

    void WaitForPress(s16 timer);

	void HandleSplash(TF_GAME_MODE newMode);

	HRESULT DoSplashIntro();

    HRESULT ListenAndProcess();

private:
	void HandleMenuLoop();
	void HandleGameLoop();

	bool _hasAI;
	TF_PLAYERS _aiColor;

};
